﻿@inject Example.Web.Legacy.Services.IDataService dataService

@{
    ViewData["Title"] = "Home Page";
    var data = await this.dataService.GetDataFromAllPlugins();  
}

<div class="text-center">
    <h1 class="display-4">Data from loaded plugins</h1>
    <table class="table">
    @foreach(var item in data)
    {
        <tr>
            <td>
                @(item.Text)
            </td>
        </tr>
    }
    </table>
</div>
